package com.hqd.ch03.v47.boot.convert;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE})
public @interface Delimiter {

    /**
     * A delimiter value used to indicate that no delimiter is required and the result
     * should be a single element containing the entire string.
     */
    String NONE = "";

    /**
     * The delimiter to use or {@code NONE} if the entire contents should be treated as a
     * single element.
     *
     * @return the delimiter
     */
    String value();

}
